<!--{*
/*
 * This file is part of EC-CUBE
 *
 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
 *
 * http://www.lockon.co.jp/
 *
 * This program is free software; you can redistribute it and/or
 * modify it under the terms of the GNU General Public License
 * as published by the Free Software Foundation; either version 2
 * of the License, or (at your option) any later version.
 *
 * This program is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 * GNU General Public License for more details.
 *
 * You should have received a copy of the GNU General Public License
 * along with this program; if not, write to the Free Software
 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
 */
*}-->

<div id="alpha">
<div id="alpha-inner">
<!--▼SUB NAVI-->
<!--{include file=$tpl_subnavi}-->
<!--▲SUB NAVI-->
</div>
</div>



<div id="beta">
<div id="beta-inner">
<form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
<!--{foreach key=key item=val from=$arrHidden}-->	
	<input type="hidden" name="<!--{$key}-->" value="<!--{$val|escape}-->">
<!--{/foreach}-->

<div class="title_page">
<h2><!--{$tpl_subtitle}-->配信設定：配信内容設定</h2>
</div>



<div class="menuclass">
<dl>
<!--{if $smarty.const.MELMAGA_BATCH_MODE}-->
<dt>配信時間設定<span class="red"> *</span></dt>
<dd>
	<!--{$list_data.send_year}-->年<!--{$list_data.send_month}-->月<!--{$list_data.send_day}-->日
	<!--{$list_data.send_hour}-->時<!--{$list_data.send_minutes}-->分
</dd>
<!--{/if}-->

	<!--{if $list_data.template_id}-->
	<dt>Subject<span class="red"> *</span></dt>
	<dd><!--{$list_data.subject|escape}--></dd>

		<!--{if $smarty.post.template_mode ne "html_template"}-->
		<dt>本文<span class="red"> *</span>（名前差し込み時は {name} といれてください）</dt>
		<dd>
		<!--{$list_data.body|escape|nl2br}-->
		</dd>
		<!--{/if}-->

	<!--{if $list_data.mail_method ne 2}-->
	<div class="nodata2">
	<p><a href="#" onClick="return document.form2.submit();">HTMLで確認</a></p>
	</div>
	<!--{/if}-->

	<!--{/if}-->
</dl>
</div>



<div class="btn_box">
<input type="hidden" name="mode" value="template">
<input type="button" name="subm02" onClick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_back', '' )" value="テンプレート設定画面へ戻る" />
	<!--{if $smarty.const.MELMAGA_BATCH_MODE}-->
	<input type="button" name="subm03" onClick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_complete', '' )" value="配信を予約する" <!--{$list_data.template_id|sfGetEnabled}-->/>
	<!--{else}-->
	<input type="button" name="subm03" onClick="return fnInsertValAndSubmit( document.form1, 'mode', 'regist_complete', '' )" value="配信する" <!--{$list_data.template_id|sfGetEnabled}-->/>
	<!--{/if}-->
</div>
</form>



<form name="form2" id="form2" method="post" action="./preview.php" target="_blank">
<input type="hidden" name="subject" value="<!--{$list_data.subject|escape}-->">
<input type="hidden" name="body" value="<!--{$list_data.body|escape}-->">
</form>

</div>
</div>
